package cc.yugu.yhdw.common.protocol.msg02;

import cc.yugu.yhdw.common.protocol.MsgCode;
import io.netty.buffer.ByteBuf;

public class Msg022000022 extends Msg022 {

    public String codeUrl;
    public int price;

    @Override
    public int getMsgCode() {
        return MsgCode.MSG_022000022.getCode();
    }

    @Override
    public void writeData(ByteBuf buffer) {
        writeRtn(buffer);
        writeString(buffer, codeUrl);
        buffer.writeInt(price);
    }
}
